package com.neusoft.elmboot.mapper;

import com.neusoft.elmboot.po.CreditEntity;
import com.neusoft.elmboot.po.ValidCredit;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ValidCreditMapper {
	
	
	public int saveValidCredit(ValidCredit validCredit);

	@Delete("delete from validCredit where vcId=#{vcId}")
    public int removeValidCreditById(int vcId);
	
    public List<ValidCredit> getAllValidCredit(String userId);

    public List<ValidCredit> getOutTimeCredits(String userId);
}
